//
//  MineInfoImageCellCollectionViewCell.m
//  MJApp
//
//  Created by scjh on 15/3/27.
//  Copyright (c) 2015年 wangliang. All rights reserved.
//

#import "MineInfoImageCellCollectionViewCell.h"

@interface MineInfoImageCellCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *logoImageView;

@end

@implementation MineInfoImageCellCollectionViewCell

- (void)awakeFromNib {
    // Initialization code
    
    self.logoImageView.layer.cornerRadius = CGRectGetHeight(self.logoImageView.frame) / 2;
    self.logoImageView.clipsToBounds = YES;
}

- (void)setInfoDic:(NSDictionary *)infoDic {
    
    _infoDic = infoDic;
    NSString *headUrl = [NSString stringWithFormat:@"%@%@",kUrl,infoDic[@"image"]];
    [self.logoImageView sd_setImageWithURL:[NSURL URLWithString:headUrl]];
}

@end
